---
id: "integer-subtraction"
keywords: ["subtract", "minus", "subtraction", "int", "integer"]
name: "-"
summary: "This is the `integer subtraction` operator."
category: "operators"
---

This operator performs _integer_ subtraction.

<CodeTab labels={["ReScript", "JS Output"]}>

```res
let result = 3 - 2
```

```js
var result = 1;
```

</CodeTab>
